using System;
using System.Collections.Generic;

namespace Be.Timvw.Framework.Tests.Proxies.LazyProxyHelper
{
    internal class Order : MarshalByRefObject
    {
        private readonly IList<Amount> amounts;
        private readonly int id;

        public Order(int id, IList<Amount> amounts)
        {
            this.id = id;
            this.amounts = amounts;
        }

        public int Id
        {
            get { return this.id; }
        }

        public IList<Amount> Amounts
        {
            get { return this.amounts; }
        }
    }
}